package com.lovo.exception;

public abstract class Role {
    public Role(){
        generate();
    }
    public int[] getNumbers() {
        return numbers;
    }
    abstract public void generate();

    public void setNumbers(int[] numbers) {
        this.numbers = numbers;
    }

    private int [] numbers = new int[4];
    public void showNumbers(){
        for(int i = 0;i < numbers.length;i++){
            System.out.print(numbers[i] + ",");
        }
        System.out.println();
    }

}
